package com.dhcc.core.modules.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.core.modules.system.entity.Group;


/**
 * 群组
 * 
 * @ClassName: GroupMapper
 * @Description: TODO
 * @author lifan
 *
 */
public interface GroupMapper  extends BaseMapper<Group> {

	void deleteGroupMemberById(Long groupId);

    List<ZTreeNode> tree(@Param("isPublic") int isPublic,@Param("userId") Long userId);
    
    List<ZTreeNode> treeMember(@Param("isPublic") int isPublic,@Param("userId") Long userId);
	
}
